package com.hxzy.mapper;

import com.hxzy.pojo.DeptLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author wzm
 * @create 2024-03-12 10:50
 * project_name:JavaWeb2401
 * @Description
 */
//日志mapper接口
@Mapper
public interface DeptLogMapper {

    //新增日志的方法
    @Insert("insert into dept_log(create_time,description) values(#{createTime},#{description})")
    void insertLog(DeptLog deptLog);
}
